//
//  ZNDraw.h
//  ZNChart
//
//  Created by Yim on 16/9/24.
//  Copyright © 2016年 LQ. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface ZNDraw : NSObject

//自定义的绘图对象
/** 绘制路径 */
@property(nonatomic,strong)UIBezierPath *path;
/**   线的颜色*/
@property (strong, nonatomic) UIColor *lineColor;
/** 线的宽度*/
@property(nonatomic,assign)CGFloat lineWidth;

/**   坐标点数组*/
@property (strong, nonatomic) NSArray *pointArray;
/**   设置画折线 */
@property (assign, nonatomic) BOOL isChartLine;

/** 点的颜色*/
@property(nonatomic,strong)UIColor *pointColor;
/** 点击时点的颜色*/
@property (strong, nonatomic) UIColor *pointSelectedColor;

/**   是否将颜色充满图表 */
@property (assign, nonatomic, getter=isChartViewFill) BOOL chartViewFill;

@property (assign, nonatomic) BOOL isSelectPoint;

/**   设置点的形状方形或圆形 */
@property (assign, nonatomic) BOOL isRound;
/**   图表充满时是否显示点 */
@property (assign, nonatomic, getter=isShowPoint) BOOL showPoint;

@end
